﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011D1 RID: 4561
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpaceZooOpCatteryScRsp : IMessage<SpaceZooOpCatteryScRsp>, IMessage, IEquatable<SpaceZooOpCatteryScRsp>, IDeepCloneable<SpaceZooOpCatteryScRsp>, IBufferMessage
	{
		// Token: 0x170039BE RID: 14782
		// (get) Token: 0x0600CC3C RID: 52284 RVA: 0x002265F8 File Offset: 0x002247F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpaceZooOpCatteryScRsp> Parser
		{
			get
			{
				return SpaceZooOpCatteryScRsp._parser;
			}
		}

		// Token: 0x170039BF RID: 14783
		// (get) Token: 0x0600CC3D RID: 52285 RVA: 0x002265FF File Offset: 0x002247FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpaceZooOpCatteryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039C0 RID: 14784
		// (get) Token: 0x0600CC3E RID: 52286 RVA: 0x00226611 File Offset: 0x00224811
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpaceZooOpCatteryScRsp.Descriptor;
			}
		}

		// Token: 0x0600CC3F RID: 52287 RVA: 0x00226618 File Offset: 0x00224818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooOpCatteryScRsp()
		{
		}

		// Token: 0x0600CC40 RID: 52288 RVA: 0x0022662B File Offset: 0x0022482B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooOpCatteryScRsp(SpaceZooOpCatteryScRsp other) : this()
		{
			this.pAPIPNBPBPE_ = other.pAPIPNBPBPE_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CC41 RID: 52289 RVA: 0x00226661 File Offset: 0x00224861
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooOpCatteryScRsp Clone()
		{
			return new SpaceZooOpCatteryScRsp(this);
		}

		// Token: 0x170039C1 RID: 14785
		// (get) Token: 0x0600CC42 RID: 52290 RVA: 0x00226669 File Offset: 0x00224869
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> PAPIPNBPBPE
		{
			get
			{
				return this.pAPIPNBPBPE_;
			}
		}

		// Token: 0x170039C2 RID: 14786
		// (get) Token: 0x0600CC43 RID: 52291 RVA: 0x00226671 File Offset: 0x00224871
		// (set) Token: 0x0600CC44 RID: 52292 RVA: 0x00226679 File Offset: 0x00224879
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600CC45 RID: 52293 RVA: 0x00226682 File Offset: 0x00224882
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpaceZooOpCatteryScRsp);
		}

		// Token: 0x0600CC46 RID: 52294 RVA: 0x00226690 File Offset: 0x00224890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpaceZooOpCatteryScRsp other)
		{
			return other != null && (other == this || (this.pAPIPNBPBPE_.Equals(other.pAPIPNBPBPE_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CC47 RID: 52295 RVA: 0x002266E0 File Offset: 0x002248E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.pAPIPNBPBPE_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CC48 RID: 52296 RVA: 0x0022672D File Offset: 0x0022492D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CC49 RID: 52297 RVA: 0x00226735 File Offset: 0x00224935
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CC4A RID: 52298 RVA: 0x00226740 File Offset: 0x00224940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.pAPIPNBPBPE_.WriteTo(ref output, SpaceZooOpCatteryScRsp._repeated_pAPIPNBPBPE_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CC4B RID: 52299 RVA: 0x00226790 File Offset: 0x00224990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.pAPIPNBPBPE_.CalculateSize(SpaceZooOpCatteryScRsp._repeated_pAPIPNBPBPE_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CC4C RID: 52300 RVA: 0x002267E4 File Offset: 0x002249E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpaceZooOpCatteryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.pAPIPNBPBPE_.Add(other.pAPIPNBPBPE_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CC4D RID: 52301 RVA: 0x00226831 File Offset: 0x00224A31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CC4E RID: 52302 RVA: 0x0022683C File Offset: 0x00224A3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U && num != 114U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.pAPIPNBPBPE_.AddEntriesFrom(ref input, SpaceZooOpCatteryScRsp._repeated_pAPIPNBPBPE_codec);
				}
			}
		}

		// Token: 0x040051FE RID: 20990
		private static readonly MessageParser<SpaceZooOpCatteryScRsp> _parser = new MessageParser<SpaceZooOpCatteryScRsp>(() => new SpaceZooOpCatteryScRsp());

		// Token: 0x040051FF RID: 20991
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005200 RID: 20992
		public const int PAPIPNBPBPEFieldNumber = 14;

		// Token: 0x04005201 RID: 20993
		private static readonly FieldCodec<uint> _repeated_pAPIPNBPBPE_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04005202 RID: 20994
		private readonly RepeatedField<uint> pAPIPNBPBPE_ = new RepeatedField<uint>();

		// Token: 0x04005203 RID: 20995
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04005204 RID: 20996
		private uint retcode_;
	}
}
